package cn.tedu._04mybatis.mapper;

import cn.tedu._04mybatis.pojo.entiry.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper//实现类
public interface UserMapper {
    //实现方法
//    @Insert("INSERT  INTO user(id,username,password,nickname,created) " +
//            "values (#{id},#{username},#{password},#{nickname},#{created})")
    int insertUser(User user);
}
